package com.elvish.quickpoi.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.integration.json4excel.annotation.J4EName;
import org.nutz.json.Json;

/**
 * as you see ...
 *
 * @author Elvish
 * @email 464773234@qq.com
 */
@Table("t_business_order")
@J4EName("单据")
public class Order {

    @Column
    @J4EName("单号")
    private Long id;
    @Column
    @J4EName("订单日期")
    private String bdate;
    @Column
    @J4EName("经办人")
    private String user;
    @Column
    @J4EName("起点")
    private String spoint;
    @Column
    @J4EName("终点")
    private String epoint;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBdate() {
        return bdate;
    }

    public void setBdate(String bdate) {
        this.bdate = bdate;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getSpoint() {
        return spoint;
    }

    public void setSpoint(String spoint) {
        this.spoint = spoint;
    }

    public String getEpoint() {
        return epoint;
    }

    public void setEpoint(String epoint) {
        this.epoint = epoint;
    }

    @Override
    public String toString() {
        return Json.toJson(this);
    }
}
